        <div class="layui-card">
          <div class="layui-card-body">
            <blockquote class="layui-elem-quote">以下是您最近3个月的登录记录，若存在异常登录记录，请尽快</blockquote>
            <table id="demo" lay-filter="test"></table>
          </div>
        </div>
<script type="text/javascript">
layui.use('table', function(){
  var table = layui.table;
  
  
  table.render({
    elem: '#demo'
    ,height: 312
    ,url: '/demo/table/user/'
    ,page: true
    ,cols: [[
      {field: 'username', title: '登录方式', minWidth:120}
      ,{field: 'sex', title: '设备名称', minWidth:120}
      ,{field: 'city', title: '系统', minWidth:120} 
      ,{field: 'sign', title: '登录时间', minWidth: 180}
    ]]
  });
  
});
</script>